/**
 * Created by oysmlsy on 2017/2/10.
 */
CKEDITOR.plugins.add('custom_name', {
    init: function (editor) {
        editor.ui.addButton('custom_name', {
            label: '姓名',
            command: 'custom_name',
            icon: this.path + 'images/icon.png',
            click: function () {
                editor.insertHtml('{{姓名}}');
            }
        });
    }
});